package org.techism.client.services;

import java.util.List;
import java.util.SortedMap;

import org.techism.client.bo.Event;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface EventServiceAsync {

    void getEventById(String eventId, AsyncCallback<Event> callback);

    void getEventsByYear(int year, AsyncCallback<SortedMap<String, List<Event>>> callback);

    void getTags(AsyncCallback<SortedMap<String, Integer>> callback);

    void getFutureEventsForThisYear(final String tag, AsyncCallback<SortedMap<String, List<Event>>> callback);

    void getFutureEventsForThisYear(AsyncCallback<SortedMap<String, List<Event>>> callback);

}
